Skip to content

Instantly share code, notes, and snippets.

@ananyasingh-code
ananyasingh-code / numpy.ipynb
Created September 2, 2026 04:33
numpy.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kltng
kltng / 0-playable-past.md
Created August 28, 2026 17:32
Playable Past — instructions for an AI agent to turn historical sources into a playable classroom game (paste this gist's URL to your agent)

Playable Past

Instructions for an AI agent: turn historical sources into a playable classroom game.

Version 0.1 (draft) · 2026-08-28 · License: CC BY 4.0 · Maintainer: kltng


If you are a teacher or instructor

@Gromina
Gromina / remove_bloatware_10pro
Last active September 2, 2026 04:44
OnePlus 10 pro bloatware removal script. run it adb shell
# Source: https://www.droidwin.com/remove-bloatware-debloat-oneplus-10-pro-no-root/
#
pm uninstall -k --user 0 com.android.apps.tag # Stock android fluff
pm uninstall -k --user 0 com.android.bips # Stock android fluff
pm uninstall -k --user 0 com.android.bluetoothmidiservice # Stock android fluff
pm uninstall -k --user 0 com.android.bookmarkprovider # Stock android fluff
pm uninstall -k --user 0 com.android.calllogbackup # Stock android fluff
pm uninstall -k --user 0 com.android.cellbroadcastreceiver.overlay.common # Stock android fluff
pm uninstall -k --user 0 com.android.cts.priv.ctsshim # Stock android fluff
pm uninstall -k --user 0 com.android.dreams.basic # Stock android AOD provider. This is needed for AOD to work fully
@FuzzysTodd
FuzzysTodd / WorldCoin-Core...README.md
Created September 2, 2026 04:36
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.34+commit.80d5c536.js&optimize=undefined&runs=200&gist=

World ID Logo

WorldID Semaphore Contracts

These are the underlying contracts that power World ID. If you're looking to integrate with World ID, you should use the Foundry or

@NicolasCARPi
NicolasCARPi / LICENSE
Last active September 2, 2026 04:40
VibeCoded AI-Slop License v1.0
VibeCoded AI-Slop License v1.0
Copyright (c) [YEAR] [AUTHOR]
This software, source code, documentation, configuration, generated artifacts,
and whatever else happened to end up in this repository (collectively, the
"Software") is released under the VibeCoded AI-Slop License v1.0.
1. Permission
@lettenj61
lettenj61 / sort.js
Created October 8, 2021 22:50
"I Can't Believe It Can" Sort
// https://arxiv.org/abs/2110.01111
function cantBelieveItCan(array) {
const len = array.length;
for (let i = 0; i < len; i++) {
for (let j = 0; j < len; j++) {
if (array[i] < array[j]) {
let tmp = array[i];
array[i] = array[j];
array[j] = tmp;
}
@ctechols
ctechols / compinit.zsh
Last active September 2, 2026 04:31
Speed up zsh compinit by only checking cache once a day.
# On slow systems, checking the cached .zcompdump file to see if it must be
# regenerated adds a noticable delay to zsh startup. This little hack restricts
# it to once a day. It should be pasted into your own completion file.
#
# The globbing is a little complicated here:
# - '#q' is an explicit glob qualifier that makes globbing work within zsh's [[ ]] construct.
# - 'N' makes the glob pattern evaluate to nothing when it doesn't match (rather than throw a globbing error)
# - '.' matches "regular files"
# - 'mh+24' matches files (or directories or whatever) that are older than 24 hours.
autoload -Uz compinit
@scruel
scruel / xiaomi-storage-open-ssh-wsl.sh
Last active September 2, 2026 04:22
小米智能存储一键开启 ssh
#!/bin/bash
# https://github.com/scruel/xiaomi-storage-nas-enable-ssh
# Ver: 1.0.8.425.F24C26D24-REL (Enhanced)
# 食用步骤:
# - 登录小米智能存储客户端,以拉取证书文件
# - 打开终端(Windows 下请使用 WSL Ubuntu 终端)
# - 终端执行 bash <(curl -s https://gist.githubusercontent.com/scruel/6b01bfa6847170f6edfaa07362b6d2fa/raw/xiaomi-storage-open-ssh-wsl.sh)
# - 提示执行完毕,输出 root 信息即成功,APP 文件中也能看到 SUCCESS。
# 终端依赖:openssl, curl, ssh-keygen, wslpath (WSL)
@k16shikano
k16shikano / SKILL.md
Last active September 2, 2026 04:22
japanese-tech-writing/SKILL
name japanese-tech-writing
description 日本語の技術文書・書籍原稿の文章規範。整形(一文一行、引用ブロック、脚注、コラム記法)、段落と論証の構成(パラグラフライティング)、論証の厳密さ(ツッコミどころの除去)、読み手の負荷の管理、視点と語り、演出の抑制、LLM っぽい空句の禁止、冗長の排除を定める。日本語で技術書の章、草稿、記事、解説文を書くとき、または推敲・リライトするときに使用する。

日本語技術文書の文章規範

日本語で技術的な原稿(書籍の章、記事、解説文)を書く・推敲するときは、以下の規範に従う。

整形